import Vue from 'vue'
import App from './App.vue'
import router from "./router";
import store from "./store";
import Toast from './components/common/toast'

import FastClick from 'fastclick' /*300ms 延时*/
import VueLazyload from "vue-lazyload";





/*安装 toast 自定义插件*/
Vue.use(Toast)

/*解决移动端的300ms延迟*/
FastClick.attach(document.body)

/*图片懒加载*/
Vue.use(VueLazyload, {
  loading: require('assets/img/common/placeholder.png')
})


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
